<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .bigbox{
            width: 200px;
            margin: 0 auto;
        }
        .box1{
            background-color: pink;
            border: red 1px solid;
            width: 200px;
            height: 200px;
            text-align: center;
            margin: 10px;
        }
        span{
            height: 200px;
            line-height: 200px;
        }
        .box1:hover{
            background-color: red;
        }
    </style>
</head>

<body>
    <div class="bigbox">
        <div class="box1">
            <span>box1</span>
        </div>
        <div class="box1">
            <span>box2</span>
        </div>
        <div class="box1">
            <span>box3</span>
        </div>
        </div>
</body>

</html>